package com.liy.framework.common.webmsg;

import java.io.*;

public class WebMessage implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String bid;
    private String title;
    private String contents;
    private String type;
    private String grade;
    private String status;
    private String ext;
    private String time;
    
    public WebMessage() {
        this.type = "00";
        this.grade = "0";
        this.status = "0";
    }
    
    public WebMessage(final String title, final String contents, final String type) {
        this.type = "00";
        this.grade = "0";
        this.status = "0";
        this.type = type;
        this.title = title;
        this.contents = contents;
    }
    
    public String getBid() {
        return this.bid;
    }
    
    public void setBid(final String bid) {
        this.bid = bid;
    }
    
    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public String getContents() {
        return this.contents;
    }
    
    public void setContents(final String contents) {
        this.contents = contents;
    }
    
    public String getType() {
        return this.type;
    }
    
    public void setType(final String type) {
        this.type = type;
    }
    
    public String getGrade() {
        return this.grade;
    }
    
    public void setGrade(final String grade) {
        this.grade = grade;
    }
    
    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(final String status) {
        this.status = status;
    }
    
    public String getExt() {
        return this.ext;
    }
    
    public void setExt(final String ext) {
        this.ext = ext;
    }
    
    public String getTime() {
        return this.time;
    }
    
    public void setTime(final String time) {
        this.time = time;
    }
}
